import { Table, TableColumnsType } from 'antd';

interface DataType {
  id: number;
  name: string;
  code: string;
  pid: number | null;
  url: string;
  icon: string;
  sort: number;
  children?: DataType[];
}

const Permission = () => {
  const columns: TableColumnsType<DataType> = [{}];
  return <Table columns={columns} dataSource={[]} />;
};

export default Permission;
